﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ImobitechModel.com.Controller;
using ImobitechModel.com.Constantes;

namespace Imobitech.Gestao
{
    public partial class ListarTreinamento : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                IDictionary<string, string> plan = new Dictionary<string, string>();
                ControladorTreinamento cg = new ControladorTreinamento();

                Object values = cg.retornaTreinamentos(plan);
                gdvPlanos.DataSource = values;
                gdvPlanos.DataBind();
                A1.Attributes.Add("href", "cadastroTreinamento.aspx");
                
            }
        }
    }
}